<!--使用etpl模板，详情见：https://github.com/ecomfe/etpl-->

{{target: loading}}
<div class="loading">
    <div class="loader">
        <div></div><div></div><div></div><div></div><div></div>
    </div>
    <p>正在加载</p>
</div>

{{target: levelScore}}<!--评分等级-->
    <span class="level">
        {{var: levels = [1,2,3,4,5] }}
        {{for: ${levels} as ${level} }}
        <span class="
            {{if: ${score}>=${level} }}icon-xingji
            {{elif: ${score} - ${level}>= -.5  }}icon-xingjiban
            {{else}}icon-xingjiline
            {{/if}} iconfont"></span>
        {{/for}}
        <em>${score}</em>
    </span>




{{target: listLi}}<!--列表母板-->
    {{for: ${items} as ${item} }}
    <li{{if: ${item.memberLevel}>1 }} class="vip" {{/if}}>
        {{block: cnt }}未装载内容 {{/block}}
    </li>
    {{/for}}
    <li>
        {{if: ${items.length}==10}}
            {{block: more}}{{/block}}
        {{elif: ${page}==2&&${items}.length==0}}
        <a href="javascript:;" class="more none">暂无内容</a>
        {{else}}
        <a href="javascript:;" class="more none">没有更多</a>
        {{/if}}
    </li>


{{target: fmListLi(master=listLi)}}<!--音频列表-->
{{block: cnt}}

<a

        {{if: ${roleId} < ${item.memberLevel} }}
            class="js-show-join" data-type="music" href="javascript:;"
        {{else}}
            href="#/bm/fm/player/${item.id}"
        {{/if}}
>
    {{use: liAvatar(
    src=${item.picPath}
    )}}
    <div class="cnt">
        {{use: levelScore(score=${item.avg})}}
        <span class="professor">主播：${item.professor}</span>
        <h3>${item.title}</h3>
        {{use: liFooter(
        category={
        id:${item.musicType},
        name:${item.musicTypeName}
        },
        comment={
        count:${item.commentTimes}
        },
        like={
        count:${item.playTimes}
        }
        )}}
    </div>
</a>

{{/block}}
{{block: more}}
<a href="javascript:;" class="more js-more-music"
   data-page="${page}" data-keyword="${keyword}" data-type="${type}" data-property="${property}" data-professiorId="${professorId}">更多音频</a>
{{/block}}

{{target: bmListLi(master=listLi)}}
    {{block: cnt}}
<a href="${item.url | url}">
    <h2>${item.rule}</h2>
    <h3>${item.title}</h3>
    <h4><em>参数：</em>${item.args}</h4>
</a>
    {{/block}}

{{target: bmList}}
<div class="example">
    <ul>
        {{import: bmListLi}}
    </ul>
</div>



{{target: bmAPI}}
<div class="api">
    <h1>APP接口调试</h1>
    <label>接口选择：</label>
    <select name="" id="js-api-id">
        {{for: ${list} as ${api} }}
        <option value="${api.name}">${api.id}.${api.title}</option>
        {{/for}}
    </select><br>
    <label>测试参数：</label><br>
    <textarea name="" id="js-api-args" placeholder="{method:1,url:['http://xxx.xx/xx']}"
            >{"method":1,"pushType":3,"pageId":20,"title":"心理测评首页"}</textarea>
    <a href="javascript:;" class="btn js-api-submit">提交</a><br>
    <a href="javascript:;" class="btn js-api-submit-2">提交2</a>
    <label>打印数据：</label><br>
    <p class="js-api-output">
        调起时，params将会是一个json的字符串<br>
        回调函数为：window.bmCallback(req);<br>
        回调时，请把数据都放在一个json对象中，例如：{result:0,msg:'调用成功',apiId:1,crum:100,data:{}}
    </p>
</div>

{{target:liFooter}}<!-- 列表底部内容 -->
<div class="icons">
    {{if: ${category} }}
        <span class="category">${category.name}
            <!--<a href="#/bm/fm/category/1/${category.id}">${category.name}</a>-->
        </span>
    {{/if}}
    {{if: ${comment} }}
        <span class="comment">
            | <span class="icon-pinglun iconfont"></span>${comment.count}
        </span>
    {{/if}}
    {{if: ${like} }}
        <span class="like">
             <span class="icon-xin iconfont"></span>${like.count}
        </span>
    {{/if}}
    {{if: ${time} }}
    <span class="time">${time.time}</span>
    {{/if}}
</div>

{{target:liAvatar}}<!-- 列表头像 -->
<span class="avatar" style="background-image: url(${src});"></span>

{{target:liHeader}}<!-- 列表顶部内容 -->


{{target: fmIndex}}<!--音频首页-->
    <div class="fm">
        {{import:fmBanner}}
        <div class="hot">
            <div id="fm_hot" class="list">
                <ul></ul>
            </div>
        </div>
    </div>


{{target: fmBanner}}<!--音频banner-->
    <div class="banner">
        <a class="js-random-player" href="javascript:;"><span class="iconfont">&#xe63c;</span><br>试试手气
        </a><a href="#/bm/fm/category/1/1"><span class="iconfont">&#xe638;</span><br>放轻松
        </a><a href="#/bm/fm/category/1/6"><span class="iconfont">&#xe63d;</span><br>好好睡
        </a><a href="#/bm/fm/category/1/5"><span class="iconfont">&#xe636;</span><br>爱自己
        </a><a href="#/bm/fm/category/1/10"><span class="iconfont">&#xe617;</span><br>更多</a>
        <h2>热门</h2>
    </div>


{{target: fmPlayer}}
    <div class="fm">
        <div class="player">
            <div class="pic" style="background-image:url(${picPath});"></div>
            <div class="player-ctrl"
                    data-id="${id}" data-title="${title}" data-file="${filePath}">
                <div class="progress"><span class="down"></span><span class="cur"></span></div>
                <div class="time"><span class="now">00:00</span><span class="count">00:00</span></div>
                <div class="pos"></div>
                <div class="btns">
                    {{if: ${showShare} }}
                    <a class="js-fm-download" href="javascript:;"><span class="icon-xiazai iconfont none"></span></a>
                    {{/if}}<a class="js-fm-change prev" href="javascript:;"><span class="icon-shangyishou iconfont"></span>
                    </a><a class="js-fm-play" href="javascript:;" class="cur"><span class="icon-bofangqibofang iconfont cur"></span>
                </a><a class="js-fm-change next" href="javascript:;"><span class="icon-xiayishou iconfont"></span></a>{{if: ${showShare} }}
                    <a class="js-fm-share" href="javascript:;"><span class="icon-fenxiang iconfont none"></span></a>
                    {{/if}}
                </div>
                <div class="status">正在下载音频</div>
            </div>
            {{import: article}}
            <ul class="comment">
                {{import: commentListLi}}
            </ul>
        </div>
    </div>

{{target: article}}
    <div class="article">
        <div class="icons">
            {{use: levelScore(score=${avg})}}
        </div>
        <article>
            <h1>${title}</h1>
            <h2><a href="#/bm/fm/professor/${professorId}">主播：${professor}</a></h2>
            <div class="cnt"><p>${musicDes|pre}</p></div>
            <div class="ctrl">
                <a href="#/bm/comment/edit/3/${id}/${score}"><span class="icon-pinglun1 iconfont"><br><em>评论</em></span></a>
            </div>
        </article>
    </div>

{{target: commentListLi(master=listLi)}}
    {{block:cnt}}
<a href="#/bm/comment/edit/${cType}/${paperId}/${item.userId}/${item.commentID}">
    {{use: liAvatar(
    src=${item.userPicPath}
    )}}
    <div class="info">
        <span class="author">{{if: ${item.nickName} }}${item.nickName}{{else}}${item.userId}{{/if}}</span>
        {{if: ${item.tuId} }}
        <em>回复</em> <span class="author">${item.tuName}</span>
        {{/if}}

    </div>
    <p>${item.summary}</p>
    <div class="ctrl">
        <span class="time"><span class="icon-shijian iconfont"></span>${item.time | date}</span>
    </div>
</a>

    {{/block}}
    {{block:more}}
    <a class="more js-more-comment" href="javascript:;" data-page="${page}" data-paperId="${paperId}" data-cType="${cType}">更多评论</a>
    {{/block}}

{{target: fmProfessor}}
    <div class="fm">
        <ul class="list">{{import: fmListLi}}</ul>
    </div>

{{target: fmCategory}}
    <div class="fm">
        {{import: tabs}}
        <ul class="list">
            {{import: fmListLi}}
        </ul>
    </div>

{{target: fmSearch}}
    <div class="fm search">
        <div class="bar">
            <form><input type="search" value="${keyword}" placeholder="请输入关键字"></form>
        </div>
        {{if: ${keyword} }}<ul class="list">{{import:fmListLi}}</ul>{{/if}}
    </div>
{{target: tabs}}
    <div class="tabs col-${tabs.length}">
        <div class="ti">
            {{for: ${tabs} as ${item},${index} }}
                {{if: ${cur}==${item.id} }}
                    <span class="cur">${item.name}</span>
                {{else}}
                    <a href="${item.url}"><span>${item.name}</span></a>
                {{/if}}
            {{/for}}
        </div>
    </div>

{{target: comment}}
<div class="fm">
    {{import: article}}
    <ul class="comment">
        {{import: commentListLi}}
    </ul>
</div>

{{target: commentEdit}}
    <div class="comment">
        {{if: ${cType}==3 && ${score}==0 }}<!--1:心理测评，3：情绪调频-->
            <div class="level-ctrl js-level-click">
                <label>星级评分</label>
                <span class="icon-xingjiline iconfont"></span>
                <span class="icon-xingjiline iconfont"></span>
                <span class="icon-xingjiline iconfont"></span>
                <span class="icon-xingjiline iconfont"></span>
                <span class="icon-xingjiline iconfont"></span>
            </div>
        {{/if}}
        <form{{if: ${score}!=0 }} style="padding-top:0;"{{/if}}>
            {{if: ${score}==0 }}<input type="hidden" id="score" name="score" value="${score}">{{/if}}
            <input type="hidden" id="paperId" name="paperId" value="${paperId}">
            <input type="hidden" id="cType" name="cType" value="${cType}">
            <input type="hidden" id="toId" name="toId" value="${tuId}">
            <input type="hidden" id="commentID" name="commentID" value="${commentID}">
            <textarea id="summary" name="summary" placeholder="{{if: ${cType}==1 }}我也评论几句{{else}}说几句评价吧{{/if}}"></textarea>
            <div class="ctrl"><a href="javascript:;" class="btn red js-comment-btn">发表评论</a></div>
        </form>
    </div>

{{target: myMusic}}
    <div class="list my">
        {{import: tabs}}
        <ul class="music">
            {{import: myMusicListLi}}
        </ul>
    </div>

{{target: myMusicListLi(master=listLi)}}
{{block: cnt}}

<a
        class="js-show-operation" data-type="music" href="javascript:;"
>
{{use: liAvatar(
    src=${item.picPath}
)}}
<div class="cnt">
    {{use: levelScore(score=${item.avg})}}
    <span class="professor">主播：${item.professor}</span>
    <h3>${item.title}</h3>
    {{use: liFooter(
    category={
    id:${item.musicType},
    name:${item.musicTypeName}
    },
    comment={
    count:${item.commentTimes}
    },
    like={
    count:${item.playTimes}
    }
    )}}
</div>

</a>

<div class="operation">
    <a href="#/bm/fm/player/${item.id}" class="btn play">播放</a>
    <a href="javascript:;" data-type="${cur}" data-id="${item.id}" data-url="${item.filePath}" class="btn del js-my-music-del">删除</a>
</div>
{{/block}}

{{target: myGroup}}
    <div class="my">
        <div class="tabs col-${tabs.length}">
            <div class="ti">
                {{for: ${tabs} as ${tab},${index} }}
                    <span class="js-my-group-tabs{{if: ${index}==0}} cur{{/if}}">${tab.name}</span>
                {{/for}}
            </div>
            {{for: ${tabs} as ${tabs},${index} }}
            <ul class="cnt group ul-${tabs.id}" {{if: ${index}!=0 }}style="display:none;"{{/if}}></ul>
            {{/for}}
        </div>
    </div>

{{target: myGroupListLi(master=listLi)}}
    {{block:cnt}}
    <a href="javascript:;" class="js-push-a" data-type="full" data-href="${item.url}">
        <h4>${item.creater}</h4>
        <h3>${item.title}</h3>
        <div class="cnt">${item.content}</div>
        {{use: liFooter(
        time={
            time:${item.time}
        },
        like={
            count:${item.playTimes}
        }
        )}}
    </a>
    {{/block}}
    {{block:more}}
<a href="javascript:;" data-page="${page}" data-typeId="${typeId}" class="more js-more-group">更多内容</a>
    {{/block}}

{{target: myActive}}
    <div class="my">
        <ul class="active">
            {{import: myActiveListLi}}
        </ul>
    </div>

{{target: myActiveListLi(master=listLi)}}
    {{block:cnt}}
        <div class="info">
            {{use: liAvatar(
            src=${item.avatar}
            )}}
            <span class="author">${item.name}</span>
            <span class="time">${item.time}</span>
            <span class="status">${item.comm}</span>
        </div>
        <p>${item.summary}</p>
    {{/block}}
    {{block:more}}
<a href="javascript:;" class="more">更多动态</a>
    {{/block}}

{{target: myTest}}
    <div class="my">
        <ul class="my-test">
            {{import: myTestListLi}}
        </ul>
    </div>

{{target: myTestListLi(master=listLi) }}
{{block: cnt}}
<a href="#/bm/tt/result/${item.scaleRecordID}">
    {{use: liAvatar(
    src=${item.picPath}
    )}}
    <div class="li-cnt">
        <h3>${item.title}</h3>
        <div class="category">${item.sort}</div>
    </div>
</a>

{{use: liFooter(
    comment={
        count:${item.commentNum}
    },
    like={
        count:${item.testNum}
    }
)}}
{{/block}}
{{block:more}}
<a href="javascript:;" class="more js-more-test" data-page="${page}" data-type="${type}">更多测试</a>
{{/block}}

{{target: ttListLi(master=listLi) }}
    {{block: cnt}}
<a
        {{if: ${roleId} < ${item.memberLevel} }}
            href="javascript:;" class="js-show-join" data-type="test"
        {{else}}
            href="#/bm/tt/scale/${item.scaleID}"
        {{/if}}>
    {{use: liAvatar(
    src=${item.picPath}
    )}}
    <div class="li-cnt">
        <h3>${item.title}</h3>
        {{use: liFooter(
        category={
        id:${item.musicType},
        name:${item.sort}
        },
        comment={
        count:${item.commentNum}
        },
        like={
        count:${item.testNum}
        }
        )}}
    </div>
</a>

    {{/block}}
    {{block:more}}
        <a href="javascript:;" class="more js-more-test" data-page="${page}" data-type="${type}">更多测试</a>
    {{/block}}

{{target: ttIndex}}
    <div class="tt">
        <div class="index">
            <img src="./images/pic-1.jpg" alt="">
            <div class="bar">
                <a href="#/bm/tt/list/2">
                    <img src="./images/test-1.png" alt=""><br>趣味测试
                </a>
                <a href="#/bm/tt/list/1">
                    <img src="./images/test-2.png" alt=""><br>专业测试
                </a>
            </div>
            <div class="cnt">
                <h2>热门</h2>
                <ul class="my-test">
                    {{import: ttListLi}}
                </ul>
            </div>
        </div>
    </div>

{{target: ttList}}
    <div class="tt" style="padding: 0;">
        <div class="list">
            <div class="tabs col-${list.length}">
                <div class="ti">
                    {{for: ${list} as ${tabs},${index} }}
                        {{if: ${index}==0 }}
                            <span class="js-tt-list-tabs cur">${tabs.typeName}</span>
                        {{else}}
                            <span class="js-tt-list-tabs">${tabs.typeName}</span>
                        {{/if}}
                    {{/for}}
                </div>
                {{for: ${list} as ${tabs},${index} }}
                    {{if: ${index}==0 }}
                <div class="cnt">
                    <ul class="my-test">{{use: ttListLi(items=${tabs.scaleList},type=${tabs.typeCode},page=2)}}</ul>
                </div>
                    {{else}}
                <div class="cnt" style="display: none;">
                    <ul class="my-test">{{use: ttListLi(items=${tabs.scaleList},type=${tabs.typeCode},page=2)}}</ul>
                </div>
                    {{/if}}
                {{/for}}
            </div>
        </div>
    </div>

{{target: ttScale}}
    <div class="tt">
        <div class="detail">
            <h2>${title}</h2>
            <p>${description}</p>
            <div class="ctrl">
                <a href="#/bm/tt/question/1" class="btn red">确定</a>
            </div>
        </div>
    </div>

{{target: ttQuestion}}
    <div class="tt">
        <div class="question">
            <h2>${title}</h2>
            <div class="progress">
                <label>题目：${cur}/${count}</label>
                <div class="bar">
                    <div class="cur" style="width:${percent}%"></div>
                </div>
            </div>
            <p>${cur}、${question.question}</p>
            <ul class="js-questions">
                {{for: ${question.optionsList} as ${item} }}
                <li>
                    <input {{if: ${question.result}==${item.optionsID} }}checked="true"{{/if}} type="radio" name="question-${question.questionID}" data-cur="${cur}" data-question-id="${question.questionID}" data-option-id="${item.optionsID}" id="op-${item.optionsID}"><label for="op-${item.optionsID}">${item.options}</label>
                </li>
                {{/for}}
            </ul>
            <div class="ctrl">
                {{var: next = parseInt(${cur})+1 }}
                {{var: prev = parseInt(${cur})-1 }}
                {{if: ${cur} > 1 }}<a class="btn red-e" href="#/bm/tt/question/${prev}">上一题</a>{{/if}}
                {{if: ${question.result} }}
                    {{if: ${cur}==${count} }}
                    <a href="#/bm/tt/result/${scaleRecordID}">查看结果</a>
                    {{else}}
                    <a href="#/bm/tt/question/${next}" class="btn red">下一题</a>
                    {{/if}}
                {{else}}
                    {{if: ${cur}==${count} }}
                    <span class="btn dis js-questions-next">查看结果</span>
                    {{else}}
                    <span class="btn dis js-questions-next">下一题</span>
                    {{/if}}
                {{/if}}
            </div>
        </div>
    </div>

{{target: ttResult}}
    <div class="tt">
        <div class="result">
            <h2>${title}</h2>
            <h3>测试结果</h3>
            <p>{{if: ${resultDes} }}${resultDes}{{else}}暂无结果{{/if}}</p>
            {{if: ${type}==101 }}
            <h3>参考建议</h3>
            <p>${suggest}</p>
            <h3>提醒</h3>
            <p>${remind}</p>
            {{/if}}
            <div class="ctrl" data-title="${title}" data-result="${resultDes}">
                <a href="#/bm/tt/scale/${scaleID}" class="btn gray">重新测试</a>
                <a href="javascript:;"
                   data-share-url="${shareUrl}"
                   data-title="${title}"
                   data-content="${resultDes}"
                   class="btn green js-tt-share">分享</a>
                <a href="javascript:;" class="btn orange js-ask">请咨询师解疑</a>
            </div>
            <ul class="comment"></ul>
            <div class="comment-box">
                <a href="#/bm/comment/edit/1/${scaleID}/5" class="btn comment-btn"><span
                        class="icon-pinglun1 iconfont"></span>我也评论几句</a>
            </div>

        </div>
    </div>

{{target: alertBox}}
    <div class="alert-box">
        <div class="box">
            <div class="close"><span class=".icon-iconfonticonfontclose iconfont">&#xe621;</span></div>
            <p>
                这是会员专属喔~！<br>想体验就成为我们的会员吧！
            </p>
            <a href="javascript:;" class="btn orange">直接登录</a>
            <a href="http://shop.m.taobao.com/shop/shop_index.htm?shop_id=141796130" class="btn gray">成为会员</a>
        </div>
    </div>

{{target: confirmBox}}
    <div class="confirm-box">
        <div class="box">
            <h2>${title}</h2>
            <p>${content}</p>
            <span class="btn ok">${okValue}</span>
            <span class="btn cancel">${cancelValue}</span>
        </div>
    </div>

{{target: shareMusic}}
<div class="fm">
    <div class="player">
        <div class="pic" style="margin:6rem 2rem 2rem; background-image:url(${picPath}); "></div>
        <div class="share-ctrl">
            <span class="icon-bofangqibofang iconfont"></span>
        </div>
        <audio id="audio" src="${filePath}"></audio>
        <div class="article" style="padding:.5rem 2rem;">
            <div class="icons">
                {{use: levelScore(score=${avg})}}
            </div>
            <article>
                <h1>${title}</h1>
                <h2><a href="#/bm/fm/professor/${professorId}">主播：${professor}</a></h2>
                <div class="cnt"><p>${musicDes|pre}</p></div>
            </article>
        </div>
        <div class="app-download">
            <a class="js-app-download-btn" href="javascript:;">
                <img src="images/share-down.jpg" alt="心灵e站"/>
            </a>
        </div>
    </div>
</div>
{{target: bmindIndexList}}
    {{for: ${list} as ${item} }}
    <!--音频-->
    {{if: ${item.pageId}==1002}}
    <li data-url="${item.url}" data-title="${item.title}" data-outurl="${item.outUrl}" data-page="${item.pageId}" data-id="${item.objectId}">
        <span>${item.label}</span>
        <header>
            <div class="min-player" data-src="${item.musicPath}">
                <div class="play"></div>
                <img src="${item.picPath}" alt="">
            </div>
            <h2>${item.title}</h2>
            <span>${item.musicExpertId}</span>
        </header>

        <p>${item.description}</p>
        <footer class="icons">
                    <span class="comment">
                        | <span class="icon-pinglun iconfont"></span>${item.musicCommentTimes}
                    </span>
                    <span class="like">
                        <span class="icon-xin iconfont"></span>${item.musicPlayTimes}
                    </span>

        </footer>
    </li>
    {{/if}}
    <!--测评-->
    {{if: ${item.pageId}==1102}}
    <li data-url="${item.url}" data-title="${item.title}" data-outurl="${item.outUrl}" data-page="${item.pageId}" data-id="${item.objectId}">
        <span>${item.label}</span>
        {{if: ${item.picPath} }}<img src="${item.picPath}" alt="">{{/if}}
        <h2>${item.title}</h2>
        <p>${item.description}</p>
        <footer class="icons">
            <span class="category">${item.scaleSort}</span>
                    <span class="comment">
                        | <span class="icon-pinglun iconfont"></span>${item.updater}
                    </span>
                    <span class="like">
                        <span class="icon-xin iconfont"></span>${item.testNum}
                    </span>
        </footer>
    </li>
    {{/if}}
    <!--活动圈-->
    {{if: ${item.pageId}==1302}}
    <li data-url="${item.url}" data-title="${item.title}" data-outurl="${item.outUrl}" data-page="${item.pageId}" data-id="${item.objectId}">
        <span>${item.label}</span>
        {{if: ${item.picPath} }}<img src="${item.picPath}" alt="">{{/if}}
        <h2>${item.title}</h2>
        <p>${item.description}</p>
        <footer class="icons">
                    <span class="like">
                        <span class="icon-xin iconfont"></span>${item.activityClickNum}
                    </span>
        </footer>
    </li>
    {{/if}}
    <!--文章-->
    {{if: ${item.pageId}==1802}}
    <li data-url="${item.url}" data-title="${item.title}" data-outurl="${item.outUrl}" data-page="${item.pageId}" data-id="${item.objectId}">
        <span>${item.label}</span>
        {{if: ${itempicPath} }}<img src="${item.picPath}" alt="">{{/if}}
        <h2>${item.title}</h2>
        <p>${item.description}</p>
        <footer class="icons">
            <span class="comment">
                | <span class="icon-pinglun iconfont"></span>${item.articleLike}
            </span>
            <span class="like">
                <span class="icon-xin iconfont"></span>${item.articleClickNum}
            </span>
        </footer>
    </li>
    {{/if}}
    {{/for}}
    <li>
        <a href="javascript:;" data-title="${item.title}" class="more js-more-index" data-page="${page}">更多内容</a>
    </li>
{{target: bmindIndex}}
<div class="home">
    <div class="banner js-slide-component">
        <div class="cnt">
            {{for: ${bannerData} as ${item} }}<img
                src="${item.picPath}"
                alt="${item.title}"
                data-url="${item.url}"
                data-title="${item.title}"
                data-outurl="${item.outurl}"
                data-page="${item.pageId}"
                data-id="${item.objectId}"
                >{{/for}}
        </div>
        <div class="dot">
            {{for: ${bannerData} as ${item} }}
            <span></span>
            {{/for}}
        </div>
    </div>
    <nav class="col-${entranceData.length}">
        {{for: ${entranceData} as ${item} }}
        <a data-url="${item.accessURL}" data-page="${item.pageId}" data-id="${item.objectId}" >
            <img src="${item.picPath}" alt="${item.title}">
            <h3>${item.title}</h3>
        </a>
        {{/for}}
    </nav>
    <ul class="home-list">
        {{import: bmindIndexList}}
    </ul>
</div>

{{target: bmReadListLi}}
{{for: ${list} as ${item} }}
<li>
    <a href="javascript:;" data-url="${item.url}" data-title="${item.title}">
        <img src="${item.picPath}" alt="">
        <section>
            <h2>${item.title}</h2>
            <p>${item.content}</p>
            <footer class="icons">
                <span class="tag">
                    <span class="icon-discount iconfont"></span>${item.lable}
                </span>
                <span class="like">
                    <span class="icon-browse iconfont"></span>${item.views}
                </span>
            </footer>
        </section>
    </a>
</li>
{{/for}}
<li>
    <a href="javascript:;" class="more js-more-read" data-page="${page}">更多内容</a>
</li>

{{target: bmReadList}}
<div class="read">
    <ul class="readList">
        {{import: bmReadListLi}}
    </ul>
</div>